.class public Les/ni;
.super Les/li;
.source "DownloadFilter.java"


# instance fields
.field private final h:Ljava/lang/String;

.field private i:Landroid/content/pm/PackageManager;


# direct methods
.method public constructor <init>(Les/fi;Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/fi;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    const v0, 0x7f11024f

    .line 1
    invoke-direct {p0, p1, p2, v0}, Les/li;-><init>(Les/fi;Ljava/util/List;I)V

    const-string p1, "Download"

    .line 2
    iput-object p1, p0, Les/ni;->h:Ljava/lang/String;

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object p1

    invoke-virtual {p1}, Landroid/app/Application;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object p1

    iput-object p1, p0, Les/ni;->i:Landroid/content/pm/PackageManager;

    return-void
.end method

.method public static c()Ljava/lang/String;
    .locals 1

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->z()Ljava/lang/String;

    move-result-object v0

    .line 3
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method


# virtual methods
.method protected a(Les/ei;Lcom/estrongs/android/cleaner/scandisk/f$a;)V
    .locals 5

    const/4 v0, 0x1

    .line 1
    invoke-virtual {p1, v0}, Les/ei;->c(I)V

    const/4 v0, 0x0

    .line 2
    invoke-virtual {p1, v0}, Les/ei;->a(Z)V

    .line 3
    iget-object v1, p0, Les/li;->g:Les/fi;

    iget-object v2, p2, Lcom/estrongs/android/cleaner/scandisk/f$a;->a:Ljava/lang/String;

    iget-wide v3, p2, Lcom/estrongs/android/cleaner/scandisk/f$a;->d:J

    invoke-virtual {v1, v2, v3, v4, v0}, Les/fi;->a(Ljava/lang/String;JZ)V

    .line 4
    iget-object v0, p2, Lcom/estrongs/android/cleaner/scandisk/f$a;->b:Ljava/lang/String;

    const-string v1, ".apk"

    invoke-virtual {v0, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    .line 5
    iget-object v1, p0, Les/ni;->i:Landroid/content/pm/PackageManager;

    iget-object v2, p2, Lcom/estrongs/android/cleaner/scandisk/f$a;->a:Ljava/lang/String;

    invoke-static {v1, v2}, Lcom/estrongs/android/pop/utils/k;->b(Landroid/content/pm/PackageManager;Ljava/lang/String;)Landroid/content/pm/PackageInfo;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 6
    iget-object v0, v1, Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;

    .line 7
    iget-object p2, p2, Lcom/estrongs/android/cleaner/scandisk/f$a;->a:Ljava/lang/String;

    iput-object p2, v0, Landroid/content/pm/ApplicationInfo;->sourceDir:Ljava/lang/String;

    .line 8
    iput-object p2, v0, Landroid/content/pm/ApplicationInfo;->publicSourceDir:Ljava/lang/String;

    .line 9
    iget-object p2, p0, Les/ni;->i:Landroid/content/pm/PackageManager;

    invoke-virtual {v0, p2}, Landroid/content/pm/ApplicationInfo;->loadLabel(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence;

    move-result-object p2

    invoke-interface {p2}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    :cond_0
    if-eqz v0, :cond_1

    .line 10
    invoke-virtual {p1, v0}, Les/ei;->b(Ljava/lang/String;)V

    :cond_1
    return-void
.end method

.method protected a(Lcom/estrongs/android/cleaner/scandisk/f$a;)Z
    .locals 0

    const/4 p1, 0x1

    return p1
.end method

.method public b()Ljava/lang/String;
    .locals 1

    const-string v0, "Download"

    return-object v0
.end method

.method protected c(Lcom/estrongs/android/cleaner/scandisk/f;)Z
    .locals 1

    .line 1
    iget p1, p1, Lcom/estrongs/android/cleaner/scandisk/f;->c:I

    const/4 v0, 0x2

    if-ne p1, v0, :cond_0

    const/4 p1, 0x0

    return p1

    :cond_0
    const/4 p1, 0x1

    return p1
.end method

.method public getId()I
    .locals 1

    const/4 v0, 0x5

    return v0
.end method
